<html>
<link href="css/style_question.css" type="text/css" rel="stylesheet" />
<body>
<?php 

if($_POST['num_habit']!=0 and $_POST['num_habit']!='')
{
?>
<table width="191" height="56"  border="0" cellpadding="0" bgcolor="#FDF9EE" id="table7">
	<tr>
		<td width="202" height="22" align="center" bgcolor="#F7E6B7">
			<font face="Verdana" style="font-size: 8.5pt" color="#990000">Unlisted Habitation Name</font></td>
			<td width="202" height="22" align="center" bgcolor="#F7E6B7">
			<font face="Verdana" style="font-size: 8.5pt" color="#990000">Longitude</font></td>
			<td width="202" height="22" align="center" bgcolor="#F7E6B7">
			<font face="Verdana" style="font-size: 8.5pt" color="#990000">Latitude</font></td>
	</tr>
	<?php
	//echo $check=$_GET['check'];
$no=$_POST['num_habit'];
if($no>0) 
{
for($i=1; $i<=$no; $i++)
{
?>
	<tr>
		<td width="202" align="center">
	  <input type="text" name="un_habit<?php echo $i;?>" id="un_habit<?php echo $i;?>" size="20" class="txt"></td>
	  <td width="202" align="center">
	  <input type="text" name="un_longitude<?php echo $i;?>" id="un_longitude<?php echo $i;?>" size="20" class="txt" onBlur="float1(this,67,80)"></td>
	  <td width="202" align="center">
	  <input type="text" name="un_latitude<?php echo $i;?>" id="un_latitude<?php echo $i;?>" size="20" class="txt" onBlur="float1(this,20,32)"></td>
	</tr>	
<?php 
}
}
?>
<input type="hidden" name="counthabit" id="counthabit" value="<?php echo $no;?>"/>
</table>
<?php }?>
</body>
</html>			
	